System and method for maintaining a constant output voltage ripple in a buck converter in discontinuous conduction mode

ABSTRACT

The system and method creates a substantially constant output voltage ripple in a buck converter in discontinuous conduction mode by varying the on-time of a pulse width modulator (PWM) signal driving the buck converter when the buck converter is operating in discontinuous conduction mode. A first signal is generated that is a function of the switching frequency of the buck converter. This signal is low-pass filtered and compared with a second signal that is a function of the switching frequency of the buck converter when operating in continuous conduction mode and with constant PWM on-time. The output signal generated by the comparator is a signal that is equal to the ratio of the first signal and the second signal. The on-time of a voltage controlled oscillator is controlled by the output signal, the oscillator signal causing the on-time of the PWM signal to vary in a controlled fashion.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. patent application Ser. No. 14/312,678 filed Jun. 23, 2014, now U.S. Pat. No. 9,647,558, which application claims priority to U.S. Provisional Patent Application Ser. No. 61/987,500, filed on May 2, 2014, the contents of all such applications being incorporated by reference herein in their entirety.

BRIEF DESCRIPTION OF THE DRAWINGS

The features, advantages, and benefits of the present invention will become more apparent from the following description taken in conjunction with the accompanying drawings, which are presented solely for exemplary purposes and not with the intent to limit the invention thereto, and in which:

FIG. 1 is a simplified block diagram of a buck converter 100 according to an embodiment of the invention;

FIG. 2 is a chart showing switching frequency and output voltage ripple in the buck converter of FIG. 1 where t_(on) is kept constant in discontinuous conduction mode;

FIG. 3 is a timing diagram illustrating the variation in net charge delivered to the output capacitor of the buck converter of FIG. 1 as the output current drops below the converter's critical current at the boundary between continuous conduction mode operation and discontinuous conduction mode operation;

FIG. 4 is a timing diagram illustrating the net charge delivered to the output capacitor of the buck converter of FIG. 1 where t_(on) is varied as a function of load current according to one embodiment of the present invention;

FIG. 5 is a graph showing the variation of t_(on) as a function of load current during discontinuous and continuous conduction modes according to one embodiment of the present invention;

FIGS. 6A and 6B are block diagrams of alternate embodiments of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention;

FIG. 7 is a block diagram of another embodiment of a system for adjusting t_(on) n in the buck converter of FIG. 1 according to the present invention;

FIG. 8 is a block diagram of an embodiment of the On-time control block shown in FIG. 7;

FIG. 9 is a schematic and block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention;

FIG. 10 is a chart showing the variation of t_(on) as a function of load current during discontinuous and continuous conduction modes of the buck converter of FIG. 1 generated by the system shown in FIG. 9;

FIG. 11 is a block diagram of another embodiment of an On-time control block according to the present invention;

FIG. 12 is a schematic and block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention showing in more detail the On-time control of FIG. 11;

FIG. 13 is a chart showing the variation of t_(on) as a function of load current during discontinuous and continuous conduction modes of the buck converter of FIG. 1 generated by the system shown in FIG. 12;

FIG. 14 is a chart showing how the output voltage ripple is maintained constant where t_(on) is varied by the system shown in FIG. 12 versus a system that maintains t_(on) constant in the buck converter's discontinuous conduction mode;

FIG. 15 is a block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention including an on-time preset for presetting the system when a large signal transient is detected;

FIG. 16 is a schematic and block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention including a preset circuit for presetting the system when a large signal transient is detected;

FIGS. 17-20 are timing diagrams showing buck converter output voltage ripple values using the system of FIG. 12 according to the present invention that are generated as the output load current steps down from above the boundary between the continuous conduction mode and the discontinuous conduction mode to various exemplary lower value output load currents; and

FIG. 21 is a block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention implemented using digital components.

DETAILED DESCRIPTION

The following description is presented to enable one of ordinary skill in the art to make and use the present invention as provided within the context of a particular application and its requirements. Various modifications to the embodiments described will, however, be apparent to one skilled in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described herein, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

FIG. 1 is a simplified block diagram of a buck converter 100. A pulse width modulator (PWM), shown at R3PV/R4, provides the PWM drive signals to drive two synchronous power switches, a high-side FET, shown at QU, and a low-side FET, shown at QL. Note that QL is turned off by a zero detect circuit when the inductor current reaches zero amperes to prevent pulling charge from the output capacitor Co to ground.

Buck converter 100 operates with synchronous switches QU and QL to improve efficiency in the converter's continuous conduction mode (CCM). To improve light load efficiency, converter 100 employs diode emulation to achieve discontinuous conduction mode (DCM) operation. Buck converter 100 operates in continuous conduction mode if the current iL through the inductor Lo never falls to zero during the commutation period T. The frequency of operation Fs of buck converter 100 is the inverse of the commutation period T. Buck converter 100 operates in discontinuous conduction mode when the amount of energy required by the load is too small to maintain CCM operation. In this mode, the current through inductor Lo falls to zero during part of the commutation period. The boundary between the discontinuous and continuous conduction modes is reached when the inductor current iL falls to zero exactly at the end of the commutation period. This boundary is a function of switching frequency and converter components, and occurs when the load current is equal to a particular value hereinafter called the critical load current, Icrit.

Constant on-time controllers are commonly used in buck converters due to their ease of implementation and natural DCM/CCM behavior. In prior art buck converters where the converter on-time, t_(on), remains constant at all load current values, DCM operation creates larger output voltage ripple compared to CCM operation. FIG. 2 is a chart showing switching frequency (Fs′) and output voltage ripple (Vo ripple) in the buck converter of FIG. 1 where t_(on) is kept constant during DCM operation. As seen in FIG. 2, above the boundary between CCM and DCM operation, both the switching frequency Fs and the output voltage ripple are constant values. However, as the output current Io drops below the boundary between CCM and DCM operation, output voltage ripple goes up, reaching a maximum at zero load current while the switching frequency Fs′ decreases linearly as a function of the decreasing load current. Most users of buck converters desire to have similar ripple values during CCM and DCM operation, which is difficult to achieve with prior art constant on-time buck converters.

For controllers that maintain a constant t_(on) of the high-side FET, the reason that output voltage ripple goes up in DCM operation is that the amount of net charge delivered to the output capacitor Co increases as the output load resistance Ro increases, thereby decreasing load current. FIG. 3 is a timing diagram illustrating the variation in net charge delivered to the output capacitor Co of the buck converter 100 of FIG. 1 as the output current drops below the converter's critical output current at the boundary between CCM and DCM operation. In FIG. 3, the top timing diagram shows the charge delivered to the output capacitor of buck converter 100 at the boundary point between CCM and DCM operation where Io is equal to Icrit. Note that Ipk remains constant during DCM operation. The second timing diagram shows the charge delivered to the output capacitor where Io is equal to one half of Icrit. As can be seen, the frequency Fs′ has fallen by half at this point (i.e., the commutation period Ts′ is twice Ts). The third timing diagram shows the charge delivered to the output capacitor where Io is equal to one quarter of Icrit. As can be seen, the frequency Fs′ has fallen to one fourth of Fs at this point (i.e., when Ts″ is four times Ts). Note that, as the frequency decreases linearly with load, i.e., the commutation period Ts, the sum of t_(on) and t_(off), goes up, while the net charge Qco coupled to the output capacitor Co goes up, seen as the grey area under the curve. Since t_(on) remains constant during DCM operation, t_(off) goes up as a function of falling load current.

FIG. 4 is a timing diagram illustrating the net charge delivered to the output capacitor Co of the buck converter of FIG. 1, where t_(on) is varied as a function of load current according to one embodiment of the present invention. As seen in FIG. 4, the same exemplary output current values as used in FIG. 3 are used. In this illustration of an embodiment of the invention, t_(on) is varied during DCM operation in order to maintain the net charge delivered to the buck converter's output capacitor Co at a constant level, or at a close approximation to such a value, in order to maintain a constant output voltage ripple independent of the value of Io. As seen in FIG. 4, when Io is equal to Icrit, the value t_(on)′ is Ton1. When Io is equal to one half of Icrit, t_(on)′ is smaller, as seen at Ton2, and when Io is equal to one quarter of Icrit, t_(on)′ is smaller still, as seen at Ton3. The relevant equations are as follows:

For constant on system, DCM switching frequency is:

$F_{S} = \frac{2I_{O}V_{O}}{I_{PK}V_{IN}t_{ON}}$ and the charge delivered to the output capacitors Q_(co) is:

$Q_{Ca} = {\frac{1}{2}\frac{\left( {I_{PK} - I_{O}} \right)^{2}}{I_{PK}}\frac{t_{ON}}{D}}$ at the critical inductor current the charge delivered to the output capacitors is:

$Q_{Co} = {{\frac{1}{2}\frac{\left( {I_{PK} - {0.5I_{PK}}} \right)^{2}}{I_{PK}}\frac{V_{IN}}{V_{O}}t_{ON}} = {\frac{1}{8}I_{PK}T_{S}}}$

To keep the charge into the capacitor constant as the load decreases t_(on) must be adjusted based on the load. Find t_(on)′ as follows:

$t_{ON}^{\prime} = {{\frac{1}{8}I_{PK}^{\prime}{T_{S} \cdot 2}\frac{I_{PK}^{\prime}}{\left( {I_{PK}^{\prime} - I_{O}} \right)^{2}}D} = {{\frac{1}{8}I_{PK}^{\prime}{T_{S} \cdot 2}\frac{I_{PK}^{\prime}}{\left( {\frac{1}{2}I_{PK}^{\prime}} \right)^{2}}D} = {t_{ON}\left( {\frac{1}{2} + \frac{I_{O}}{I_{PK}}} \right)}}}$ Since I _(PK) ′=I _(o)+1/2I _(PK) The desired behavior for t_(on)′ is therefore t_(on)′=t_(on)(1/2Io/Ipk) [Equation 1]

The ideal behavior of t_(on)′ is therefore equal to t_(on) times one half plus the ratio of Io to Ipk, the peak inductor current. As seen from the above equations, switching frequency Fs is linearly related to the output load current, Io. Ipk and Ipk′ are shown in FIG. 4 as the peak current through inductor Lo, and the duty cycle D of the converter is equal to Vo/Vin. Qco is the charge coupled to the output capacitor and is shown as the area under the inductor current curve in FIG. 4. As seen from the above equations, as Io goes to zero current, the variable on-time t_(on)′ goes to a duration of one half of t_(on).

FIG. 5 is a graph showing the variation of t_(on) as a function of load current during discontinuous and continuous conduction modes according to one embodiment of the present invention. As seen in FIG. 5, to produce a constant output voltage ripple during DCM operation, t_(on) is caused to decrease linearly as load current decreases. At zero load current, t_(on) has decreased to a value that is equal to one half of its normal on-time.

Since it is difficult to measure the output load current Io, in a first embodiment according to the present invention, an approximation is used which avoids having to measure Io in order to generate the variable t_(on)′ needed to cause a level of charge to be delivered to the output capacitor Co during each commutation period that is close to a constant value. In this embodiment, the change in output current can be approximated by generating a signal that is a function of the change in switching frequency Fs′ that occurs in buck converter 100 as a function of the change in load current. The equations used to approximate the desired behavior of t_(on)′, as indicated in the above equation, are as follows:

using a measurement of the switching period to adjust the t_(on) can get pretty close to the desired behavior

$F_{S}^{\prime} = {\frac{2I_{O}D}{I_{PK}^{\prime}t_{ON}^{\prime}} = {\left. \frac{2I_{O}t_{ON}}{I_{PK}^{\prime}t_{ON}^{\prime}T_{S}}\rightarrow\frac{F_{S}^{\prime}}{F_{S}} \right. = {\frac{2I_{O}t_{ON}}{I_{PK}^{\prime}t_{ON}^{\prime}} = \frac{2I_{O}t_{ON}}{I_{PK}^{\prime}t_{ON}^{\prime}}}}}$ The constant on time control reference can be modified as follows:

$t_{ON}^{\prime} = {t_{ON}\left( {\frac{F_{S}^{\prime}}{F_{S}} + \frac{1}{2}} \right)}$ which gives:

$t_{ON}^{\prime} = {t_{ON}\left( {{\frac{2I_{O}}{I_{PK}} \cdot \left( \frac{t_{ON}}{t_{ON}^{\prime}} \right)^{2}} + \frac{1}{2}} \right)}$ compared to the desired behavior:

$t_{ON}^{\prime} = {t_{ON}\left( {\frac{I_{O}}{I_{PK}} + \frac{1}{2}} \right)}$

This second equation for generating a varying t_(on)′ is referenced below as Equation 2. Note that the equation Ipk′=Ipk×t_(on)′/t_(on) was used to substitute for Ipk′ in the Fs′/Fs equation to get t_(on)′ in the above resultant equation. In other words, the t_(on)′ generated by the equation t_(on) times the ratio of Fs′/Fs plus one half is an approximation of the desired t_(on)′. Since the ratio of Fs′/Fs includes the values of Io and Ipk′ in it, this approximation is pretty close.

FIGS. 6A and 6B are block diagrams of alternate embodiments of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention. In FIG. 6A, the system 200 includes a first block 210 which measures the DCM frequency Fs′. This value is compared by a comparator/gain stage 220 with a target value representative of frequency Fs generated by block 230. The output of comparator/gain stage 220 is fed through a low-pass filter 240 to a voltage controlled oscillator 250 whose output is coupled to a PWM Modulator 260 for generation of the PWM signal whose on-time is t_(on)′. The output of low-pass filter 240 is also fed back to the block 210 to generate a control loop that regulates the signal output by the low-pass filter.

The system 300 shown in block diagram 6B is an alternative embodiment of a system to adjust the on-time t_(on). System 300 is similar to system 200 but it positions the low-pass filter, shown at 340, before the comparator/gain stage, shown at 320. Again, a value representative of frequency Fs generated by block 330 is also coupled to comparator/gain stage 220. In system 300, the output of comparator/gain stage 320 is fed back to frequency measurement block 310 in addition to being coupled to a voltage controlled oscillator 350 whose output is coupled to a PWM Modulator 360.

FIG. 7 is a block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention. System 400 shown in FIG. 7 includes a one-shot 410 for generating the PWM signal, including tOn′ and Toff′ when in DCM operation. One shot 410 generates a pulse whenever the feedback voltage Vfb is less than a reference voltage Vref, as determined by comparator 430. Vfb is preferably a function of the buck converter 100 output voltage Vout. Included in one-shot 410 is an On-time Control block 420 which functions to turn off the PWM signal generated by one-shot 410 as a function of the ratio Fs′/Fs. Consequently, the on-time t_(on)′ of the PWM signal is controlled by this ratio. The ratio Fs′/Fs is generated in the same manner as described with reference to the embodiments shown in FIG. 6.

FIG. 8 is a block diagram of an embodiment of the On-time Control block 420 shown in FIG. 7. As seen in FIG. 8, the On-time Control block preferably includes a gain stage 440 and an offset 460 for enabling the value of Fs′/Fs to be modified to generate a value that is closer to the desired behavior of t_(on)′, as described above. In one embodiment, the gain stage provides a gain of 0.5 to counter the 2 in Equation 2 above for t_(on)′. Similarly, offset 460 functions to add the scaler “one half” that is also required by Equation 2.

FIG. 9 is a schematic and block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. I according to the present invention. As seen in FIG. 9, system 500 includes a circuit 510 for generating the Fs′/Fs ratio. In operation, the PWM signal is coupled to circuit 510. The rising edge of each PWM signal turns on a FET switch 512 to discharge capacitor 514. Once switch 512 opens, a current source 516 causes capacitor 514 to begin charging up. The current generated by current source 516 drops as a function of the drop in the frequency Fs′ of the buck converter 100, as explained further below. The increasing voltage V1 across capacitor 514 caused by current source 516 is fed through a buffer 518 to a low-pass filter 540. Low-pass filter 540 removes any high frequency components in V1 and helps stabilize the control loop created by the feedback of the Fs′/Fs ratio to current source 516. The output of low-pass filter 540 is a voltage VLP whose amplitude is a function of the average value of the voltage V1 across capacitor 514.

The output of low-pass filter 540 VLP is fed to the negative input of a comparator/gain stage 520. Comparator/gain stage 520 compares VLP to a reference voltage Vfreq that is coupled to the positive input of gain stage 540. Voltage Vfreq has a predetermined constant value that represents the frequency Fs. The output of comparator/gain stage 520 is the ratio of Fs′/Fs. This ratio may be set to vary from a value of one, at the CCM/DCM boundary down to zero when the load current Io drops to zero. A scaler value may be added at 522 to the output of comparator/gain stage 520, if needed.

As described above, the Fs′/Fs signal is fed to an On-time Control circuit, e.g., circuit 420 in FIG. 8, and from there to a I-shot for generating the PWM signal with the desired t_(on)′ value. In the embodiment shown in FIG. 9, the one-shot 560 comprises a set-reset flip-flop 562 that is set when Vout of the buck converter drops below a reference voltage Vref. When the flipflop 562 switches on, the Q bar output of the flip-flop goes low to turn off a switch 564 which had discharged one-shot capacitor 566 to ground. With switch 564 off, a current source 568 creates a voltage ramp across capacitor 566 and this voltage is fed to the positive input of a comparator 570. The output voltage generated by the On-time Control circuit is coupled to the negative input of comparator 570. The output of comparator 570 resets the flip-flop 562 when the modified Von′ exceeds Vout. This controls the on time t_(on)′ of the PWM.

FIG. 10 is a chart showing the variation of t_(on) as a function of load current during discontinuous and continuous conduction modes of the buck converter of FIG. 1 generated by the system shown in FIG. 9. At 602 is shown the Vout ripple in DCM under ideal conditions where t_(on)′=t_(on) (Io/Ipk+1/2). At 604 is shown the Vout ripple generated by the system shown in FIG. 9. At 606 is shown the Vout ripple when t_(on) is not varied during DCM operation according to the embodiment of the present invention shown in FIG. 9.

FIG. 11 is a block diagram of another embodiment 700 of an On-time Control block according to the present invention. In FIG. 11, a multiplier 702 is added along with a second control loop 704 between the generator of Fs′/Fs, as described above, and the 1-shot timer reference, 410. This arrangement yields a t_(on)′ function that matches the ideal function described above, t_(on)′=t_(on)(Io/Ipk+1/2). As is seen, the two inputs to multiplier 702 generate the t_(on)′² term since t_(on)=1 is just needed to cancel out t_(on)′², and this is the function of the control loop 704. A low pass filter LPF is again used to improve the stability of feedback loop 704.

In an analog circuit, multiplier 702 can be implemented in a conventional way using an analog multiplier such as a Gilbert Cell. If the multiplier 702 is in a digital circuit, one of ordinary skill can readily implement such a functionality using digital processing.

FIG. 12 is a schematic and block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention showing in more detail the On-time Control 700 shown in FIG. 11.

FIG. 13 is a chart showing the variation of t_(on)′ as a function of load current during discontinuous and continuous conduction modes of the buck converter of FIG. 1 generated by the system shown in FIG. 11. As is seen, the Vout ripple under ideal conditions, shown at 740 is closely matched by the Vout ripple generated by the embodiment of the invention shown in FIG. 12, shown at 742. To some extent, traces 740 and 742 do not match because ideal components are not being used to implement the t_(on)′ generator of FIG. 11 in practice. Shown at 744 for comparison purposes is the Vout ripple when t_(on) is not varied during DCM operation.

FIG. 14 is a graph showing how the output voltage ripple is maintained constant where t_(on) is maintained constant by the system shown in FIG. 12 versus a system that maintains t_(on) constant in the buck converter's discontinuous conduction mode. FIG. 14 shows a constant output voltage ripple 760 over the load range. At 762 is shown the variation in output voltage ripple with constant t_(on) in DCM. Note that with the circuitry of FIG. 11 in place, the output ripple magnitude can be programmed to other magnitudes.

FIG. 15 is a block diagram of another embodiment of a system 800 for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention including an on-time preset for presetting the system when a large signal transient is detected. In this embodiment, a filter preset 802 is provided to reset the low-pass filter capacitor if the voltage on the capacitor exceeds some threshold. The filter preset 802 functions to quickly discharge this capacitor, thereby reinitializing the feedback circuit. This is useful if the system goes from a high load to a low load quickly. The normal feedback loop in one embodiment of the invention is not quick enough to adjust to this much of a change in load. The system of FIG. 6B, for example would need several measurements of voltage to create the large change needed in the filter capacitor.

FIG. 16 is a schematic and block diagram of another embodiment of a system for adjusting t_(on) in the buck converter of FIG. 1 according to the present invention wherein an exemplary filter preset as shown at 802 in FIG. 17 is included for presetting the system, if needed, when a large signal transient is detected.

FIGS. 17-20 are timing diagrams showing buck converter output voltage ripple values using the system of FIG. 12 according to the present invention that are generated as the output load current steps down from above the boundary between the continuous conduction mode and the discontinuous conduction mode to various exemplary lower value output load currents.

FIG. 21 is a block diagram of another embodiment of a system for generating the ratio Fs′/Fs to thereby adjust t_(on) in the buck converter of FIG. 1 according to the present invention implemented using digital components.

The present invention has been described in relation to particular examples, which are intended in all respects to be illustrative rather than restrictive. Those skilled in the art will appreciate that many different combinations of circuits will be suitable for practicing the present invention. Moreover, other implementations of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples therein be considered as exemplary only, with a true scope of the invention being indicated by the following claims. 

What is claimed is:
 1. A method comprising: generating a pulse width modulator (PWM) signal for causing a buck converter to convert an input voltage to an output voltage coupled to a load; forming an output signal that has a value that is substantially equal to a ratio between a switching frequency of the buck converter when the buck converter is operating in discontinuous conduction mode and the switching frequency of the buck converter when the buck converter is operating in continuous conduction mode; and varying an on-time of the PWM signal when the buck converter is operating in discontinuous conduction mode using the output signal.
 2. The method of claim 1, wherein varying the on-time of the PWM signal is performed so as to cause ripple on the output voltage to remain substantially constant while a current on the load changes.
 3. The method of claim 1, wherein the PWM signal is turned on when a feedback signal that is a function of the output voltage drops below a reference signal, and wherein the output signal is modified by a gain stage and an offset stage, the modified output signal turning off the PWM signal after a duration of time that is a function of the ratio.
 4. The method of claim 3, wherein the on and off state of the PWM signal is controlled by a set-reset flip-flop which is caused to set when the feedback signal drops below the reference signal, and which is caused to reset as a function of the ratio.
 5. The method of claim 1, wherein the PWM signal is turned on when a feedback signal that is a function of the output voltage of said buck converter drops below a reference signal, and wherein the output signal is modified by a gain stage and a control loop, the control loop comprising an offset stage, a multiplier and a low-pass filter, the modified output signal turning off the PWM signal after an amount of time that is a function of the ratio.
 6. The method of claim 1, further comprising varying an on-time of an oscillator signal as a function of the output signal, the oscillator signal causing the on-time of said PWM signal to vary.
 7. A buck converter, comprising: a pulse width modulator (PWM) for generating a PWM signal that causes the buck converter to convert an input voltage to an output voltage coupled to a load; and a system for varying an on-time of the PWM signal when the buck converter is operating in discontinuous conduction mode, wherein the system comprises: a measurement circuit for measuring a switching frequency of the buck converter while the buck converter is operating in the discontinuous conduction mode and generating a Fs′ value based on the measurement; an input for receiving a Fs value that is based on the switching frequency of the buck converter when the buck converter is operating in continuous conduction mode; and a comparator for generating an output signal that is a function of the ratio of the Fs′ value and the Fs value, wherein the output signal is used to cause the on-time of the PWM signal to vary.
 8. The buck converter of claim 7, wherein the system is adapted to vary the on-time of the PWM signal so as to cause ripple on the output voltage to remain substantially constant while a current on the load changes.
 9. The buck converter of claim 7, wherein the system further comprises: a feedback loop for regulating the output signal.
 10. The buck converter of claim 9, wherein the PWM modulator includes: an input comparator; a one-shot for generating the PWM signal; and an on-time control block, the input comparator turns on said one-shot when the input comparator detects when the output voltage of the buck converter drops below a reference signal, the on-time control block generating a modified output signal for resetting the one-shot as a function of the ratio of the Fs′ value and the Fs value, and as a function of a gain stage and an offset stage, thereby causing the on-time of the PWM signal to vary.
 11. The buck converter of claim 10, wherein the one-shot comprises: a set-reset flip-flop; a switch; a capacitor; a current source; and a second comparator, and wherein the set-reset flip-flop is caused to change to a set state each time the input comparator detects when the output voltage of said buck converter drops below the reference signal, and wherein, when the set-reset flip-flop is in its set state, the switch is caused to open and enable a ramp voltage to be generated across the capacitor as a function of said current source, the second comparator comparing the ramp voltage to the modified output signal, the output of the second comparator resetting said flip-flop when the ramp voltage exceeds the modified output signal.
 12. The buck converter of claim 10, wherein the on-time control block includes an input and an output, the on-time control block further comprising a multiplier having two inputs and one output and a low-pass filter, the two inputs of the multiplier connected in common to the output of the on-time control block via the low pass filter, the output of the multiplier connected on the input side of the offset stage to create a control loop.
 13. The buck converter of claim 9, wherein the measurement circuit comprises: a first capacitor; a switch connected across the first capacitor; and a current source, and wherein the first capacitor is caused to discharge on the rising edge of each PWM signal, and wherein the current source causes a ramp voltage to be generated across the first capacitor, the output current of the current source also being a function of said output signal.
 14. The buck converter of claim 9, wherein the system further comprises a low pass filter that includes a capacitor having a voltage across it that is a function of the average of the Fs′ value, the system further comprising a reset circuit for resetting the low-pass filter capacitor when the voltage across the capacitor exceeds a predetermined threshold.
 15. The buck converter of claim 9, wherein the system further includes an oscillator for varying the on-time of said PWM signal as a function of said output signal.
 16. A method comprising: generating a pulse width modulator (PWM) signal for causing a buck converter to convert an input voltage to an output voltage coupled to a load; monitoring a switching frequency of the buck converter when the buck converter is operating in discontinuous conduction mode and generating a Fs′ value based on the monitoring, wherein monitoring includes measuring a frequency of the PWM signal using a measurement circuit coupled to receive the PWM signal; varying an on-time of the PWM signal when the buck converter is operating in discontinuous conduction mode at least partially based on the generated Fs′ value; and receiving a Fs value corresponding to the switching frequency of the buck converter when the buck converter is operating in continuous conduction mode, wherein varying the on-time of the PWM signal when the buck converter is operating in discontinuous conduction mode is further based on the received Fs value, and wherein the PWM signal is turned on when a feedback signal that is a function of the output voltage of said buck converter drops below a reference signal, and wherein the output signal is modified by a gain stage and a control loop, the control loop comprising an offset stage, a multiplier and a low-pass filter, the modified output signal turning off the PWM signal after an amount of time that is a function of a ratio between the Fs′ value and the Fs value.
 17. The method of claim 16, further comprising varying the on-time of an oscillator signal as a function of the output signal, the oscillator signal causing the on-time of said PWM signal to vary. 